package drink;

/**
 * @Auther: xiaofei
 * @Date: 2021/6/8 - 06 - 08 - 11:03
 * @Description: drink
 * @version: 1.0
 */
public class MikyTea extends Drink {
    //属性
    private String remark;

    //方法

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    //重写父类showDrink方法
    public String showDrink(){
        return "备注："+remark+"\n"+super.showDrink();
    }
    //构造器

    public MikyTea() {
    }

    public MikyTea(String name, double price, int size, String isIce, int num, String remark) {
        super(name, price, size, isIce, num);
        this.remark = remark;
    }
}
